package com.conversationboard.api.formatters;

public class XmlWrapper {

	public static String wrap(String tagName, String content) {

		return "<" + tagName + ">" + content + "</" + tagName + ">";
	}


	public static String wrapCDATA(String tagName, String content) {

		return "<" + tagName + "><![CDATA[" + content + "]]></" + tagName + ">";
	}


	public static String convertBoolean(boolean input) {

		if (input) {
			return "Yes";
		} else {
			return "No";
		}

	}
}
